home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / we-30d.zip / WEEXTSRC.ZI_ / MAKE32 < prev    next >
Text File  |  1993-07-30  |  908b  |  38 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. # This line allows NMAKE to work as well
  6.  
  7. all: we_ext.dll
  8.  
  9. # Update the object files if necessary
  10.  
  11. we_ext.obj: we_ext.c we_ext.h private.h
  12.     $(cc) $(cflags) $(cvars) we_ext.c
  13.  
  14. # Update the resources if necessary
  15.  
  16. we_ext.res: we_ext.rc we_ext.h
  17.     rc -r -fo we_ext.tmp we_ext.rc
  18.     cvtres -$(CPU) we_ext.tmp -o we_ext.res
  19.     del we_ext.tmp
  20.  
  21. # Update the import library
  22.  
  23. we_ext.lib: we_ext.obj we_ext32.def
  24.     $(implib) -machine:$(CPU)\
  25.     -def:we_ext32.def        \
  26.     we_ext.obj              \
  27.     -out:we_ext.lib
  28.  
  29. # Update the dynamic link library
  30.  
  31. we_ext.dll: we_ext.lib we_ext.obj we_ext.res we_ext32.def
  32.     $(link)           \
  33.     -base:0x1C000000  \
  34.     -dll          \
  35.     -entry:LibMain$(DLLENTRY)    \
  36.     -out:we_ext.dll   \
  37.     we_ext.exp we_ext.obj we_ext.res edmac32i.lib $(guilibs)
  38.